{include file="file:$admin_theme_global_path/_header.tpl" masthead="Todo"}
<div class="grid_16">
	{if count($items) gt 0}			
		<div class="grid_16 faux-thead alpha omega">
			<div class="grid_8 alpha">{t}Task{/t}</div>
			<div class="grid_4">{t}Sent From{/t}</div>
			<div class="grid_4 omega">{t}Sent On{/t}</div>
		</div>			  
		{foreach from=$items item=item key=index}	
			<div class="grid_16{if ($index + 1) mod 2 eq 0} even{else} odd{/if} faux-tr  alpha omega">
				<div class="grid_8 alpha">
					{if isset($item.url)}<a href="{url}{$item.url}{/url}">{$item.task}</a>
					{else}
					{$item.task}
					{/if}
				</div>
				<div class="grid_4">
					{$item.assigned_by_user.full_name}
				</div>
				<div class="grid_4 omega">
					{$item.created_on|date_format:$format_datetime_small}
				</div>
			</div>	
		{/foreach}
	{else}
		<p>{t}No items found.{/t}</p>
	{/if}	
	<div class="grid_12 alpha omega">	
		{include file="file:$admin_theme_global_path/_pager.tpl"}
	</div>
</div>
{include file="file:$admin_theme_global_path/_footer.tpl"}
